﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="TopSell.ascx.cs" Inherits="BSPortal.Usercontrol.TopSell" %>
<%@ Import Namespace="BSPortal" %>
<div class="sum_show_left">
    <h3 class="navi_left_tab">Bán chạy nhất</h3>
    <div class="list_item_left">
        <%--<div style="float:left; text-indent:6px;color:#7F7F7F; font-size: 11px; margin-bottom: 6px;">
            <span style="float: left;font-weight: bold; font-family: tahoma,arial,serif; margin: 8px 0 0 5px;">Văn học</span>			
        </div>--%>
        <asp:Repeater ID="topSellRepeater" runat="server">
            <ItemTemplate>
                <div class="div_items_left_buy">
                    <h2 class="font_12 font_lighter" style="font-size:12px;overflow:hidden;">
                        <strong>
                            <a href="product-<%=Common.GetLine() %>-<%# Eval("ProductId")%>.html" title="<%# Eval("Name")%>" 
                                class="title_left a_link_view_detail" id="link_view_left_201951" style="font-weight:normal;"><%# Eval("Name")%></a>
                        </strong>
                    </h2>
                    <div class="div_img_much_buy">
                        <a href="product-<%=Common.GetLine() %>-<%# Eval("ProductId")%>.html" title="<%# Eval("Name")%>" class="link_view_image_left">
                            <center><img alt="<%# Eval("Name")%>" src="/images/<%# Eval("Image")%>" height="70px"></center>
                        </a>
                    </div>
                    <div class="div_infor">						
                        <p style="height: auto"></p>
                        <table>									
                            <tbody>
                                <tr>
                                    <td style="padding-left: 10px; color: #6c6c6c;">
                                        <span style="font-size: 11px;float:left;">Giá bán :</span> <br>
                                        <span class="min_max_price_list_best_by" style="float:left;"><%# (Math.Round((int.Parse(Eval("Price").ToString()) * (1 - float.Parse(Eval("Discount").ToString())))/100,0)*100).ToString("#,###")%><span class="vnd" style="float:left;">đ</span></span>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <a href="product-<%=Common.GetLine() %>-<%# Eval("ProductId")%>.html"><span class="discount_list_best_by">Chi tiết</span></a>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <p></p>
                    </div>					
                    <div class="clbr"></div>
                </div>
                <div class="clear" style="border-bottom:1px solid #dedede;margin-top:3px;float:left; width: 162px; margin-left: 10px;"></div>
            </ItemTemplate>
        </asp:Repeater>        
    </div>    
</div>